package cn.tedu.cwfw.client.mapper;

import cn.tedu.cwfw.client.pojo.dto.ClientQuery;
import cn.tedu.cwfw.client.pojo.entity.Client;
import cn.tedu.cwfw.client.pojo.vo.ClientVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ClientMapper {
    ClientVO selectByUsername(String username);

    void insert(Client client);

    void update(Client client);

    void deleteById(Long clientId);

    List<ClientVO> selectClient(ClientQuery clientQuery);
}
